*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.frame {
    /*width: 22%; */
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 0 10px 0px #bedded;
    margin: 10px;
}

.image {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.image h3 {
    text-align: center;
    margin: 0;
    padding: 10px 0;
}

.image img {
    width: 100%;
    height: 180px;
    display: block;
    transition: transform 0.3s ease;
}

.caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0099ff;
    color: #fff;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.caption h3, .caption p {
    margin: 0;
    text-align: center;
}

.frame:hover .image {
    transform: scale(1.05);
}

.frame:hover .caption {
    display: flex;
}

.tab {
    display: flex;
    justify-content: center;
}

.tab button {
    background-color: transparent; /* 设为透明 */
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px;
    transition: 0.3s;
    flex-grow: 1; /* 自动扩展宽度 */
    margin: 0 1rem; /* 按钮间隔，可以根据需要调整 */
    text-align: center;
    position: relative; /* 添加相对定位 */
}

.tab button::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px; /* 修改蓝线高度为3px */
    background-color: #007bff; /* 设置蓝线颜色 */
    opacity: 0; /* 默认蓝线不显示 */
    transition: 0.3s;
}

.tab button:hover::before,
.tab button.active::before {
    opacity: 1; /* 激活状态或悬停时显示蓝线 */
}

.tabcontent {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    transition: opacity 0.8s ease-in-out; /* 增加过渡的持续时间和过渡的类型 */
}

.tab-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 70px; /* 左右留出一定的间距 */
}

.tab-title {
    font-weight: bold;
    font-size: 30px;
    font-family: Source Han Sans SC;
    font-weight: bold;
    color: #0099ff;
    margin-bottom: 40px;
}

.tab-info {
    flex: 1;
    padding: 20px;
}

.tab-description {
    font-size: 14px;
    font-family: Source Han Sans SC;
    font-weight: 500;
    color: #515362;
}

.tab-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab-image img {
    width: 430px; /* 图片宽度最大不超过容器 */
    height: 430px; /* 图片高度最大不超过容器 */
    object-fit: scale-down; /* 使用 cover 填充容器，保持正方形效果 */
    border: 5px solid rgba(204, 204, 204, 0.4); /* 添加相框 */
    border-radius: 10px; /* 圆角样式 */
     background-color:#fff;
}
.fleX{
    display: flex;
}
.fleX_wrap{
    flex-wrap: wrap;
}
.flex_column{
    flex-direction: column;
}
a, a:hover, a:active, a:visited, a:link, a:focus {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background: none;
    text-decoration: none;
}
input , textarea{
    outline: none;
}
p{
    margin: 0;
    font-family: PingFangSC-Semibold, PingFang SC;
}
ul, li {
    list-style: none;
    margin-bottom: 0;
}
.ju_between{
    justify-content: space-between;
}
.ju_evenly{
    justify-content: space-evenly;
}
.ju_Cen{
    justify-content: center;
}
.m0{
    margin: 0 auto;
}
.vertical{
    align-items: center;/* 垂直居中 配合display: flex使用 */
}
.vertical2{
    align-self: center;
}
.vertical3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.position{
    position: relative;
}
.w15{
    width: 15%;
}
.w16{
    width: 16.6%;
}
.w20{
    width: 20%;
}
.w25{
    width: 23.5%;
}
.w30{
    width: 30%;
}
.w32{
    width: 32%;
}
.w33{
    width: 33%;
}
.w35{
    width: 35%;
}
.w40{
    width: 40%;
}
.w45{
    width: 45%;
}
.w48{
    width: 48%;
}
.w50{
    width: 50%;
}
.w55{
    width: 55%;
}
.w60{
    width: 60%;
}
.w66{
    width: 66%;
}
.w68{
    width: 68%;
}
.w70{
    width: 70%;
}
.mAuto{
    margin: 0 auto;
}
.mR5{
    margin-right: 5px;
}
.mR20{
    margin-right: 20px;
}
.mT15{
    margin-top: 15px;
}
.mT30{
    margin-top: 30px;
}
.mT100{
    margin-top: 100px;
}
.mT200{
    margin-top: 200px;
}
.mb10{
    margin-bottom: 10px;
}
.mb15{
    margin-bottom: 15px;
}
.mB20{
    margin-bottom: 20px;
}
.mB30{
    margin-bottom: 30px;
}
.mB36{
    margin-bottom: 36px;
}
.mB40{
    margin-bottom: 40px;
}
.mB50{
    margin-bottom: 50px;
}
.mB60{
    margin-bottom: 60px;
}
.mB70{
    margin-bottom: 70px;
}
.mB80{
    margin-bottom: 80px;
}
.mB100{
    margin-bottom: 100px;
}
.mB150{
    margin-bottom: 150px;
}
.mB200{
    margin-bottom: 200px;
}
.m40{
    margin:40px 0px
}
.m60{
    margin:60px 0px
}
.pT100{
    padding-top: 100px;
}
.pB50{
    padding-bottom: 50px;
}
.p10{
    padding: 10px 0 !important;
}
.p30{
    padding: 30px 0;
}
.p040{
    padding: 0px 40px;
}
.p3030{
    padding: 30px;
}
.p4020{
    padding: 40px 20px;
}
.p2020{
    padding: 20px 20px;
}
.p2040{
    padding: 20px 40px;
}
.pLR10{
    padding: 0 10px;
}
.p80{
    padding: 80px 0;
}
.p8060{
    padding: 80px 0 60px;
}
.con{
    width: 1200px;
    margin: 0 auto;
}
.tet_Cen{
    text-align: center;
}
.white{
    color: #fff;
}
.disappear_none{
    display: none;
}
.ju_end{
    justify-content: flex-end;
}

.consult{
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    color: #0099ff;
    font-size: 16px;
    margin-top: 50px;
    width: fit-content;
    font-family: "Source Han Sans CN";
    display: flex;
    box-shadow: 1px 1px 2px 1px rgb(190, 221, 237 ,0.75);
    cursor: pointer;
    align-items: baseline;
}
.consult:hover .icon{
    margin-left: 12px;
    transition: ease all 0.3s;
}
.consult .icon{
    width: 20px;
    height: 22px;
    transition: ease all 0.3s;
}
.show_animation{
    animation: show 1s;
}
@keyframes show{
    0%{
        opacity: 0;
        transform: translateY(200px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
.show_0{
    opacity: 0;
}

